import request from '@/utils/request'

// 新建合同发票列列表
export function invoiceLists(params?: Record<string, any>) {
    return request.get({ url: '/invoice/list', params })
}

// 新建合同发票列详情
export function invoiceDetail(params: Record<string, any>) {
    return request.get({ url: '/invoice/detail', params })
}

// 新建合同发票列新增
export function invoiceAdd(params: Record<string, any>) {
    return request.post({ url: '/invoice/add', params })
}

// 新建合同发票列编辑
export function invoiceEdit(params: Record<string, any>) {
    return request.post({ url: '/invoice/edit', params })
}

// 新建合同发票列删除
export function invoiceDelete(params: Record<string, any>) {
    return request.post({ url: '/invoice/del', params })
}
